package com.smart.model.vo;

import com.smart.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("运营权限响应模型")
public class OperateTreePermissionVO extends BaseVO implements Serializable {
    @ApiModelProperty("上一级权限id")
    private Long parentId;
    @ApiModelProperty("权限名")
    private String name;
    @ApiModelProperty("权限码")
    private String code;
    @ApiModelProperty("权限描述")
    private String description;
    @ApiModelProperty("权限子菜单")
    private List<OperateTreePermissionVO> children;
}
